package com.houtai.bean.dto.resume;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="添加编辑项目经历所需参数", description="添加编辑项目经历所需参数")
public class TdProjectExperienceInsert {
    @ApiModelProperty(value="工作经历id  编辑时修改需上传 新增传0", name="job_experience_id", example = "0")
    private int job_experience_id;

    @NotEmpty(message = "项目名称不能为空")
    @Length(max = 50, message = "项目名称最多50个字符")
    @ApiModelProperty(value="项目名称", name="project_name", example = "某某工程")
    private String project_name;

    @NotNull(message = "项目角色id不能为空")
    @ApiModelProperty(value="项目角色id", name="project_roles_id", example = "40")
    private int project_roles_id;


    @NotNull(message = "项目链接不能为空")
    @Length(max = 100, message = "项目链接最多100个字符")
    @ApiModelProperty(value="项目链接 选填传空字符串", name="project_url", example = "")
    private String project_url;

    @NotEmpty(message = "项目开始时间不能为空")
    @Length(max = 7, message = "项目开始时间最多7个字符")
    @ApiModelProperty(value="项目开始时间  yyyy-MM", name="start_time", example = "2010-12")
    private String start_time;

    @NotEmpty(message = "项目结束时间不能为空")
    @Length(max = 7, message = "项目结束时间最多7个字符")
    @ApiModelProperty(value="项目结束时间  yyyy-MM", name="end_time", example = "2019-11")
    private String end_time;

    @NotEmpty(message = "项目描述不能为空")
    @Length(max = 2000, message = "项目描述最多2000个字符")
    @ApiModelProperty(value="项目描述", name="project_content", example = "项目秒杀金陵饭店结案率放假啊练腹肌；啊")
    private String project_content;

    public int getJob_experience_id() {
        return job_experience_id;
    }

    public void setJob_experience_id(int job_experience_id) {
        this.job_experience_id = job_experience_id;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public int getProject_roles_id() {
        return project_roles_id;
    }

    public void setProject_roles_id(int project_roles_id) {
        this.project_roles_id = project_roles_id;
    }

    public String getProject_url() {
        return project_url;
    }

    public void setProject_url(String project_url) {
        this.project_url = project_url;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getProject_content() {
        return project_content;
    }

    public void setProject_content(String project_content) {
        this.project_content = project_content;
    }
}
